import java.io.Serializable;


public class ServerInformation implements Serializable 
{
	/**
	 * 
	 */
	private static final long serialVersionUID = -1845375174096403697L;
	private String host;
	private int port;
	private int id;
	private boolean tryToConnect;
	
	public ServerInformation(String host, int port, int id, boolean tryToConnect)
	{
		this.host = host;
		this.port = port;
		this.id = id;
		this.tryToConnect = tryToConnect;
	}
	
	
	
	public boolean isTryToConnect() {
		return tryToConnect;
	}



	public void setTryToConnect(boolean tryToConnect) {
		this.tryToConnect = tryToConnect;
	}



	public String getHost() {
		return host;
	}
	public void setHost(String host) {
		this.host = host;
	}
	public int getPort() {
		return port;
	}
	public void setPort(int port) {
		this.port = port;
	}
	public int getId() {
		return id;
	}
	public void setId(int id) {
		this.id = id;
	}
	
	
}
